/**
 * @Author: 焦质晔
 * @Date: 2019/6/20
 * @Last Modified by: 焦质晔
 * @Last Modified time: 2019-11-30 15:49:43
 */
import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 礼品调拨处理查询
export const getGiftStorage = params =>
  axios.get(`${SERVER.MEMBERS_CLUB}/allocation/queryGiftAllocation`, {
    params
  });

// 礼品执行调拨处理
export const executionAllocation = params => axios.post(`${SERVER.MEMBERS_CLUB}/allocation/executionAllocation`, params);

// 库位查询
export const getLibrary = params => axios.get(`${SERVER.DMSCLOUD_PART}/basedata/LibraryDefinition`, { params });

// 仓库类型查询
export const getStorageType = params => axios.get(`${SERVER.DMSCLOUD_PART}/basedata/WarehouseDefinition/storage`, { params });
